package com.company.project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.company.project.entity.SysGoodsAlbumEntity;
import com.company.project.vo.req.goods.AlbumUpdateReqVO;
import com.company.project.vo.req.goods.AlbumInsterReqVO;

import java.util.List;

/**
 * 
 *
 * @author YangYulin
 * @email YangYulinit@163.com
 * @date 2020-08-05 16:20:50
 */
public interface SysGoodsAlbumService extends IService<SysGoodsAlbumEntity> {

    List<SysGoodsAlbumEntity> insterAlbum(List<AlbumInsterReqVO> albumInsterReqVOList, String goodsId);

    List<SysGoodsAlbumEntity> updateAlbum (List<AlbumUpdateReqVO> albunInsterReqVOList,String goodsId);

    /**
     *  通过商品id 删除商品相册
     * @param goodsId
     * @return
     */
    List<String> deleteAlbum (String goodsId);

}

